package com.yangye.niodemo.rpc.protocol;

import lombok.Data;

import java.io.Serializable;

/**
 * @author yangye
 * @date 2020/12/29
 */
@Data
public class PackageMsg implements Serializable {

	private RpcHeader header;

	private RpcBody body;

	public PackageMsg(RpcHeader header, RpcBody body) {
		this.header = header;
		this.body = body;
	}
}
